package com.hualu.serverInfo.service.impl;

import java.util.List;

import com.hualu.serverInfo.dao.ServerInfoDao;
import com.hualu.serverInfo.model.ServerInfo;
import com.hualu.serverInfo.service.ServerInfoManager;

public class ServerInfoManagerImpl implements ServerInfoManager {

    private ServerInfoDao serverInfoDao;

    public void setServerInfoDao(ServerInfoDao serverInfoDao) {
        this.serverInfoDao = serverInfoDao;
    }
    
    @Override
    public ServerInfo getServerInfo(String publicIp) {
        return null;
    }

    @Override
    public List<ServerInfo> getServerInfoList() {
        List<ServerInfo> list = serverInfoDao.getServerInfoList();
        return list;
    }

}
